github.com/golang/protobuf/proto.textParser.cur (field)
25 uses
github.com/golang/protobuf/proto (current package)
text_decode.go#L72: cur token
text_decode.go#L87: p.cur.line = 1
text_decode.go#L535: pe := &ParseError{fmt.Sprintf(format, a...), p.cur.line, p.cur.offset}
text_decode.go#L536: p.cur.err = pe
text_decode.go#L573: p.cur.err = nil
text_decode.go#L574: p.cur.offset, p.cur.line = p.offset, p.line
text_decode.go#L575: p.cur.unquoted = ""
text_decode.go#L579: p.cur.value, p.s = p.s[0:1], p.s[1:len(p.s)]
text_decode.go#L599: p.cur.value, p.s = p.s[0:i+1], p.s[i+1:len(p.s)]
text_decode.go#L600: p.cur.unquoted = unq
text_decode.go#L610: p.cur.value, p.s = p.s[0:i], p.s[i:len(p.s)]
text_decode.go#L612: p.offset += len(p.cur.value)
text_decode.go#L623: return &p.cur
text_decode.go#L627: p.cur.value = ""
text_decode.go#L628: } else if len(p.cur.value) > 0 && isQuote(p.cur.value[0]) {
text_decode.go#L631: cat := p.cur
text_decode.go#L638: if p.cur.err != nil {
text_decode.go#L639: return &p.cur
text_decode.go#L641: cat.value += " " + p.cur.value
text_decode.go#L642: cat.unquoted += p.cur.unquoted
text_decode.go#L645: p.cur = cat
text_decode.go#L647: return &p.cur